package com.ybkj.daijia.api.jgpt;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("api/jgpt")
public class orerAndGpsController {

    @Autowired
    orderAndGpsService orderAndGpsService;

    @RequestMapping(value = "/queryOrder", produces = "application/json;charset=utf-8")
    @ResponseBody
    public String QueryOrder() {
        String result = orderAndGpsService.QueryOrder("5,6");
        return result;
    }

    @RequestMapping(value = "/queryGps", produces = "application/json;charset=utf-8")
    @ResponseBody
    public String QueryGps() {
        return orderAndGpsService.QueryGps();
    }
}
